package com.express.gateway.manage.entity;

import java.util.List;

import com.express.gateway.manage.enums.HttpMethodEnum;

/**
 * Api的入口
 * 
 * @author flower
 *
 */
public class Entrance {
	private String path;// 请求路径
	private List<HttpMethodEnum> methods;// 请求的方法
	private List<EntranceParam> paramOptions;// 参数的配置

	public Entrance() {
		super();
	}

	public Entrance(String path, List<HttpMethodEnum> methods, List<EntranceParam> paramOptions) {
		super();
		this.path = path;
		this.methods = methods;
		this.paramOptions = paramOptions;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public List<HttpMethodEnum> getMethods() {
		return methods;
	}

	public void setMethods(List<HttpMethodEnum> methods) {
		this.methods = methods;
	}

	public List<EntranceParam> getParamOptions() {
		return paramOptions;
	}

	public void setParamOptions(List<EntranceParam> paramOptions) {
		this.paramOptions = paramOptions;
	}

}
